@import './base.scss';
$base-color: #3f9fff;

::v-deep .releasepage-header {
  display: flex;
  justify-content: space-between;
  height: 80px;
  background-image: url('@/assets/images/header-background.png');
  background-size: 100% 100%;
  font-size: 36px;
  line-height: 80px;
  padding: 0 20px;
  color: #fff;
  letter-spacing: 2px;
  border-top-right-radius: 8px;
  border-top-left-radius: 8px;
  .button {
    height: 45px;
    background: linear-gradient(to right,#ff9f3d,#fd6e45);
    border-color: #ff9f3d;
    font-size: 18px;
    border-radius: 4px;
    span {
      display: flex;
      align-items: center;
      img {
        margin-right: 5px;
        width: 25px;
        height: 25px;
      }
    }
  }
  .button:hover {
    background: linear-gradient(to right,#ff9f3d,#ee9f71);
    border-color: #ff9f3d;
  }
}

.releasepage-box {
  background: #faf9ff;
  color: #333;
  background-size: 100% 100%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: auto;
  background-image: url('@/assets/images/projection-background.jpg');

  .releasepage-box-card {
    height: 100%;
    margin: 0 auto;
    box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.2);
    background: rgba(256, 256, 256, 0.4);
    width: 90%;
    height: 750px;
    margin-top: 40px;
    border-radius: 12px;
  }
}

.homepage-box {
  .table-title {
    height: 40px;
    line-height: 40px;
    font-size: 24px;
    font-weight: 600;
  }

  .homepage-box--card {
    padding: 10px 30px;
    border-radius: 8px;
    height: calc(100% - 95px);
  }

  .homepage-button {
    height: 45px;
    text-align: right;
    line-height: 45px;

    button {
      font-size: 18px;
      border-radius: 4px;
    }

    .el-button--primary {
      color: #FFF;
      background-color: #409EFF;
      border-color: #409EFF;
    }

    .el-button--primary:hover {
      background: #66b1ff;
      border-color: #66b1ff;
      color: #fff;
    }
  }

  .homepage-table-vedio {
    padding-bottom: 15px;
  }
}

.resultpage-card {
  height: 100%;
  width: 100%;
  box-sizing: border-box;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-image: url('@/assets/images/projection-background.jpg');

  .el-carousel__button {
    width: 60px;
    height: 8px;
    background-color: #a19292;
    border-radius: 4px;
  }

  .el-carousel__indicators--horizontal {
    left: 10%;
  }

  .el-carousel__indicator.is-active button {
    background: #1f69e6;
  }

  .next-content {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12), 0 0 6px rgba(0, 0, 0, 0.04);
    padding: 10px 20px;
    margin-top: 20px;
    border-radius: 8px;
    background-color: #fff;
  }

  &--case {
    height: calc(100% - 40px);
    margin: 0 auto;
    box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.2);
    background: rgba(256, 256, 256, 0.6);
    width: 96%;
    border-radius: 12px;
    overflow: hidden;
  }

  &--title {
    height: 45px;
    line-height: 45px;
    text-align: center;
    font-size: 30px;
    font-weight: bold;
    padding-top: 20px;
    letter-spacing: 10px;
  }

  &--time {
    height: 30px;
    line-height: 30px;
    text-align: right;
    font-size: 36px;
    font-weight: 600;
    color: $base-color;
    letter-spacing: 0px;
  }

  &--content {
    display: flex;
    flex-direction: row;
    padding: 0 60px;
    margin: 15px 0;
  }

  &--box {
    margin-right: 20px;
    margin: 0 auto;
    width: 50%;

    .card-top {
      background-color: #ff5722;
      font-size: 28px;
      color: #fff;
      padding: 0px 30px;
      width: auto;
      display: inline-block;
      border-top-right-radius: 25px;
      border-bottom-right-radius: 25px;
      height: 50px;
      line-height: 50px;
      background-image: url('@/assets/images/room-background.png');
      background-repeat: no-repeat;
      background-size: cover;
    }

    .card-box {
      padding: 15px 20px;
      border-radius: 8px;
      box-sizing: border-box;
      background-image: url('@/assets/images/card-background.png');
      color: #fff;
      margin-top: -10px;
      background-repeat: no-repeat;
      background-size: cover;

      &-item {
        padding: 10px 0;
        font-size: 28px;
        align-items: baseline;

        div:last-child {
          width: calc(100% - 150px);
          font-size: 32px;
        }

        div:first-child {
          width: 150px;
          font-weight: 600;
        }
      }

      &-item__extra {
        div:first-child {
          width: 200px;
          font-size: 32px;
        }

        div:last-child {
          width: calc(100% - 200px);
          font-size: 36px;
        }
      }
    }

    .card-box--extra {
      height: 300px;
      line-height: 250px;
      font-size: 42px;
      color: #fff;
      text-align: center;
      font-weight: 600;
    }
  }

  .onecard-box {
    width: 70%;
    min-height: 400px;

    .card-top {
      height: 60px;
      line-height: 60px;
      border-top-right-radius: 30px;
      border-bottom-right-radius: 30px;
      padding: 0 50px;
    }

    .card-box {
      margin-top: -20px;
    }
  }
}

.anim {
  transition: all 0.5s;
}

::v-deep .homepage-table-onSite {
  height: 570px;
  font-size: 16px;

  .el-button {
    line-height: 0;
  }
}

.all-conference {
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12), 0 0 6px rgba(0, 0, 0, 0.04);
  border-radius: 8px;
  width: 50%;
  margin-left: 30px;
  margin-top: 40px;
  overflow: hidden;
  transition: all 0.5s;
  position: relative;
  background-color: #fff;
  height: 720px;

  &--scorll {
    position: absolute;
    width: 100%;
    padding: 15px;
    box-sizing: border-box;
  }

  .item-conference {
    width: 100%;
    padding: 15px 5px;

    &--left {
      width: 250px;

      .number {
        background-color: #e5f2ff;
        height: 55px;
        width: 55px;
        line-height: 55px;
        text-align: center;
        color: #6e6969;
        font-weight: bold;
        font-size: 22px;
      }

      .time {
        font-size: 22px;
        font-weight: 600;
        color: #1f1e1e;
        letter-spacing: 2px;
      }

      .total-time {
        font-size: 17px;
        text-align: center;
        color: #ab9d9d;
        font-weight: 600;
        margin-top: 6px;
      }
    }

    &--right {
      width: calc(100% - 200px);
      padding: 0px 15px;
      border-left: 2px solid #d1d0d0;
      font-size: 19px;

      > div {
        margin-bottom: 8px;
        align-items: baseline;
      }

      .label {
        width: 140px;
        box-sizing: border-box;
        font-weight: bold;

        > i {
          color: #23a0e9;
          font-weight: bold;
          font-size: 18px;
          margin-right: 5px;
        }

        > span {
          font-size: 20px;
        }
      }

      .text {
        font-size: 22px;
        width: calc(100% - 140px);
      }
    }
  }

  .empty-box {
    height: 140px;
  }
}

.afternoon {
  background-color: #d9f6fa;

  .number {
    background-color: #fff;
  }
}

.table-content {
  border: 1px solid #3f9fff !important;
}

.el-carousel__indicators--horizont {
  left: 10%;
}

.homepage-dialog {
  font-weight: 600;

  .el-dialog__title {
    font-size: 24px;
  }

  .el-form-item__label {
    font-size: 18px;
  }

  .el-dialog {
    width: 600px;
  }

  .el-dialog__close {
    font-size: 28px;
  }

  .el-button {
    font-size: 18px;
  }
}

.message-box--additional {
  .el-message-box__message {
    font-size: 16px;
  }
}

::v-deep .time-table {
  .cell {
    font-size: 16px;
  }
  .el-table__header-wrapper th {
    background-color: #f1f4f9 !important;
    color: black;
  }
  .el-table__fixed-header-wrapper th {
    background-color: #f1f4f9 !important;
  }
}

.el-carousel {
  transform: translate3d(0, 0, 0);
}

.el-collapse-item__arrow {
  font-size: 22px;
  font-weight: 600 !important;
}

.collapse-title__extra {
  padding: 5px 10px;
  font-size: 20px;
  font-weight: 600;
  color: #409eff;
}

::v-deep .el-collapse-item__header {
  border-left: 6px solid #409eff;
}
